<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ObjetoTableSeeder
 *
 * @author Carlos
 */
class ObjetoTableSeeder extends Seeder {
    public function run() {
//        $date = new DateTime;
        DB::table('objetos')->insert([
            [
                'id' => 1, 
                'nombre' => "Banquito Milk", 
                'descripcion' => 'Descripción banquito Milk lorem ipsum...',
                'link_name' => 'Krethaus',
                'position' => 0,
                'estado' => true,
                'link' => 'http://www.krethaus.com/eng/detalle.php?id=14', 
                'slug' => 'banquito-milk', 
//                'created_at' => $date, 
//                'updated_at' => $date
            ],
            [
                'id' => 2, 
                'nombre' => "Cuna celeste", 
                'descripcion' => 'Descripción cuna celeste lorem ipsum...',
                'link_name' => 'Krethaus',
                'position' => 1,
                'estado' => true,
                'link' => 'http://www.krethaus.com', 
                'slug' => 'cuna-celeste', 
//                'created_at' => $date, 
//                'updated_at' => $date
            ],
            [
                'id' => 3, 
                'nombre' => "Lámpara tejida", 
                'descripcion' => 'Descripción lámpara tejida lorem ipsum...', 
                'link_name' => 'Krethaus',
                'position' => 2,
                'estado' => true,
                'link' => 'http://www.google.com', 
                'slug' => 'lampara-tejida', 
//                'created_at' => $date, 
//                'updated_at' => $date
            ]
        ]);
    }

}
